<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>用户新增</title>
		<link rel="stylesheet" type="text/css" href="../layui/css/layui.css" />
	</head>
	<body>
		
		<div id="treeHide" class="layui-container ">
			<div class="layui-row">
				<div class="layui-col-md12">
					<fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
						<legend>请选择</legend>
					</fieldset>
					<div id="test1" class="demo-tree demo-tree-box"></div>
				</div>
			</div>
			<hr />
			<div class="layui-row">
				<div class="layui-col-md12">
					<div style="padding-left: 200px;" >
						<button type="button" id="sure" class="layui-btn layui-btn layui-btn-sm">确定</button>
						<button type="button" id="close" class="layui-btn layui-btn-primary layui-btn layui-btn-sm">关闭</button>
					</div>
				</div>
			</div>
		</div>
		
		
		
		
		<div class="layui-container">
			<div class="layui-row">
				<div class="layui-col-md12">
					<form class="layui-form" action="">
						<div class="layui-form-item">
							<label class="layui-form-label">上级菜单</label>
							<div class="layui-input-block">
								<input readonly="readonly"  parentId=""  type="text" name="parentMenu" placeholder="主目录" autocomplete="off" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">菜单类型</label>
							<div class="layui-input-block">
								<input lay-filter="menuType" type="radio" name="menuType" value="0" title="菜单">
								<input lay-filter="menuType" type="radio" name="menuType" value="1" title="目录">
								<input lay-filter="menuType" type="radio" name="menuType" value="2" title="按钮">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">菜单名称</label>
							<div class="layui-input-block">
								<input type="text" name="menuName" required lay-verify="required" placeholder="请输入菜单名称" autocomplete="off"
								 class="layui-input">
							</div>
						</div>

						<div id="requestUrl_div" class="layui-form-item">
							<label class="layui-form-label">请求地址</label>
							<div class="layui-input-block">
								<input type="text" name="requestUrl" required lay-verify="required" placeholder="请输入请求地址" autocomplete="off"
								 class="layui-input">
							</div>
						</div>
						<div id="roleKey_div" class="layui-form-item">
							<label class="layui-form-label">权限标识</label>
							<div class="layui-input-block">
								<input type="text" name="roleKey" required lay-verify="required" placeholder="请输入权限标识" autocomplete="off" class="layui-input">
								<div class="layui-form-mid layui-word-aux"> 控制器中定义的权限字符，如：@RequiresRoles("")</div>
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">显示顺序</label>
							<div class="layui-input-block">
								<input type="number" name="sort" required lay-verify="required" placeholder="请输入显示顺序" autocomplete="off" class="layui-input">
							</div>
						</div>
						<!-- <div class="layui-form-item">
							<label class="layui-form-label">选择图标</label>
							<div class="layui-input-block">
								<input type="text" id="icon" readonly="readonly" name="icon" required lay-verify="required" placeholder="请选择图标"
								 autocomplete="off" class="layui-input">
							</div>
						</div> -->
						<div id="isHide_div" class="layui-form-item">
							<label class="layui-form-label">菜单状态</label>
							<div class="layui-input-block">
								<input type="radio" name="isHide" value="0" title="显示">
								<input type="radio" name="isHide" value="1" title="隐藏">
							</div>
						</div>

						<div class="layui-form-item">
							<div class="layui-input-block">
								<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
								<button type="reset" class="layui-btn layui-btn-primary">重置</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</body>
	<script src="../layui/layui.all.js" type="text/javascript" charset="utf-8"></script>

	<script src="../js/menumanage/add.js" type="text/javascript" charset="utf-8"></script>
</html>
